const express = require("express");
const app = express();

const bodyParser = require("body-parser");
app.use(bodyParser.urlencoded({
    extended: true
}))

const jwt = require("jsonwebtoken");


let user = {};

app.post("/register", (req, res) => {
    user = req.body;
    console.log(user)
    res.end("登陆成功")
})





app.listen(6666, (err) => {
    if (!err) {
        console.log("成功")
    } else {
        console.log("失败")
    }
})